import request from '@/utils/request'

// 充值方式列表
export function apiRechargeMethodLists(params: any) {
    return request.get({ url: '/setting.recharge_method/lists', params })
}

// 充值方式列表
export function apiRechargeMethodAll(params: any) {
    return request.get({ url: '/setting.recharge_method/all', params })
}

// 添加充值方式
export function apiRechargeMethodAdd(params: any) {
    return request.post({ url: '/setting.recharge_method/add', params })
}

// 编辑充值方式
export function apiRechargeMethodEdit(params: any) {
    return request.post({ url: '/setting.recharge_method/edit', params })
}

// 删除充值方式
export function apiRechargeMethodDelete(params: any) {
    return request.post({ url: '/setting.recharge_method/delete', params })
}

// 充值方式详情
export function apiRechargeMethodDetail(params: any) {
    return request.get({ url: '/setting.recharge_method/detail', params })
}

//  充值方式状态
export function apiRechargeMethodStatus(params: any) {
    return request.post({ url: '/setting.recharge_method/updateStatus', params })
}